package com.ljs.clickhousedemo.controller;

import com.ljs.clickhousedemo.dao.Torder1688Mapper;
import com.ljs.clickhousedemo.entity.Torder1688;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Description:
 * @Author: liujinsheng
 * @Date: 2021/10/26.
 */
@RestController
public class TestController {
    @Resource
    Torder1688Mapper torder1688Mapper;
    @GetMapping("/test")
    public List<Torder1688> find(){
    System.out.println(torder1688Mapper.selectList(null));
       return torder1688Mapper.selectList(null);
    }
}
